/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Domain;

import java.awt.print.Printable;
import javax.swing.JTextPane;

/**
 *
 * @author Memet
 */
public class ProductionDataPage {
    private String inhoud;

    public ProductionDataPage(String inhoud) {
        this.inhoud = inhoud;
    }

    public String getInhoud() {
        return inhoud;
    }

    public void setInhoud(String inhoud) {
        this.inhoud = inhoud;
    }

    public Printable getPrintable()
    {
        JTextPane panel = new JTextPane();
        panel.setContentType("text/html");
        panel.setText(inhoud);
        return panel.getPrintable(null, null);
    }

}